package com.heima.zuoye.day06.tumu2;

import java.util.ArrayList;
import java.util.List;
import java.util.Random;

public class Demo1 {
    public static void main(String[] args) {
        List<Integer> ints = new ArrayList<>();
        Random r = new Random();
        for (int i = 0; i < 10; i++) {
            ints.add(r.nextInt(100, 201));
        }
        ints.forEach(i -> System.out.println(i));
        ints.remove(2);
        ints.remove(5);
        ints.remove(6);
        System.out.println("===========================");
        ints.forEach(i -> System.out.println(i));
    }
}
